package xjvm_v1.classfile.cons;


import xjvm_v1.classfile.ConsPoolInfo;
import xjvm_v1.util.TypeTransUtil;
import xjvm_v1.util.U2;

public class ConstantClass extends ConstantBase {
    public U2 nameIndex;

    public String getConsInfo(ConsPoolInfo constantPool){
        return TypeTransUtil.byte2String(nameIndex.u2);
    }
}
